<%--
  Created by IntelliJ IDEA.
  User: Sssller
  Date: 2021/1/21
  Time: 21:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>无标题文档</title>
</head>

<body>
<form action="" method="post">
    <table width="100%" border="1">
        <tr>
            <td colspan="2" align="center"><pre>UmsAdmin修改</pre></td>
        </tr>
        <tr>
            <td width="27%">用户名</td>
            <td width="73%"><label for="username"></label>
                <input type="text" name="username" id="username" value="${id.username}"></td>
            <input type="hidden" name="hiddenField" id="hiddenField" value="${id.id}"></td>
        </tr>
        <tr>
            <td>密码</td>
            <td><label for="password"></label>
                <input type="text" name="password" id="password" value="${id.password}"></td>
        </tr>
        <tr>
            <td>头像</td>
            <td><label for="icon"></label>
                <input type="text" name="icon" id="icon" value="${id.icon}"></td>
        </tr>
        <tr>
            <td>邮箱</td>
            <td><label for="email"></label>
                <input type="text" name="email" id="email" value="${id.email}"></td>
        </tr>
        <tr>
            <td>昵称</td>
            <td><label for="nickName"></label>
                <input type="text" name="nickName" id="nickName" value="${id.nickName}"></td>
        </tr>
        <tr>
            <td>备注信息</td>
            <td><label for="note"></label>
                <input type="text" name="note" id="note" value="${id.note}"></td>
        </tr>
        <tr>
            <td>创建时间</td>
            <fmt:formatDate value="${id.createTime}" pattern="YYYY-MM-DD" var="c"></fmt:formatDate>
            <td><label for="createTime"></label>
                <input type="text" name="createTime" id="createTime" value="${c}"></td>
        </tr>
        <tr>
            <td>最后登录时间</td>
            <fmt:formatDate value="${id.loginTime}" pattern="YYYY-MM-DD" var="c"></fmt:formatDate>
            <td><label for="loginTime"></label>
                <input type="text" name="loginTime" id="loginTime" value="${c}"></td>
        </tr>
        <tr>
            <td>账号启用状态</td>
            <td><input type="radio" name="status" id="status" value="0" <c:if test="${id.status==0}">checked</c:if>>
                <label for="status"></label>
                禁用
                <input type="radio" name="status" id="status2" value="1" <c:if test="${id.status==1}">checked</c:if>>
                <label for="status2"></label>
                启用</td>
        </tr>
        <tr>
            <td>供应商</td>
            <td><label for="supplyId"></label>
                <input type="text" name="supplyId" id="supplyId" value="${id.supplyId}"></td>
        </tr>
        <tr>
            <td colspan="2" align="center"><input type="submit" name="button" id="button" value="插入提交">
                <input type="reset" name="button2" id="button2" value="重置"></td>
        </tr>
    </table>
</form>
</body>
</html>
